package com.zzsz.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * --- 这有何难 ---
 * ƪ(˘⌣˘)ʃ
 *
 * @author 超级无敌张恒阳大王
 * @date 4/9/2025
 * @desc 预警接收人实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WaringRecipient {
	// 预警接收人表
	@ExcelProperty("接收人ID")
	@ColumnWidth(10)
	private Integer recipientId; // 收件人ID
	
	@ExcelProperty("接收人姓名")
	@ColumnWidth(20)
	private String recipientName;  // 收件人姓名
	
	@ExcelProperty("接收人手机号")
	@ColumnWidth(20)
	private String recipientPhone; // 收件人手机号
	
	@ExcelProperty("接收人邮箱")
	@ColumnWidth(30)
	private String recipientEmail; // 收件人邮箱
	
	@ExcelIgnore // 忽略头像URL字段，不在Excel中显示
	private String recipientAvatarUrl; // 收件人头像URL
	
	@ExcelProperty("备注")
	@ColumnWidth(40)
	private String recipientRemarks; // 收件人备注
	
	@ExcelProperty("产品分类ID")
	@ColumnWidth(15)
	private Integer recipientProductCategory; // 收件人产品分类(规定只能填写二级分类id)

	//	todo 先完成查找功能
}